import { ThemeCategory } from "@/api/service/theme/types";

export const showForm = ref(false);
const formObj: ThemeCategory = {
  categoryName: "",
  status: "",
  categoryId: "",
  parentId: "",
  deptId: "",
  createBy: "",
  createTime: "",
  updateBy: null,
  updateTime: null
};
export const form = ref<ThemeCategory>({
  ...formObj
});

export const resetForm = () => {
  form.value = {
    ...formObj
  };
};
